﻿using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoreWeb.Serialization
{
    public class DateFormatConverter : IsoDateTimeConverter
    {
        public DateFormatConverter() : this("yyyy-MM-dd HH:mm:ss")
        {

        }
        public DateFormatConverter(string dateTimeFormat)
        {
            DateTimeFormat = dateTimeFormat;
        }
    }
}
